home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 September
/
PCWorld_2008-09_cd.bin
/
v cisle
/
sadanastroju
/
autocomplete_manager-2.3-fx.xpi
/
chrome
/
acmanager.jar
/
content
/
browser-overlay.xul
< prev
next >
Wrap
Extensible Markup Language
|
2008-03-14
|
4KB
|
79 lines
<?xml version="1.0"?>
<!-- ***** BEGIN LICENSE BLOCK *****
- Version: MPL 1.1
-
- The contents of this file are subject to the Mozilla Public License Version
- 1.1 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
- http://www.mozilla.org/MPL/
-
- Software distributed under the License is distributed on an "AS IS" basis,
- WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
- for the specific language governing rights and limitations under the License.
-
- The Original Code is the Autocomplete Manager extension.
-
- The Initial Developer of the Original Code is
- Nikitas Liogkas <nikitas@acm.org>.
- Portions created by the Initial Developer are Copyright (C) 2005-2008
- the Initial Developer. All Rights Reserved.
-
- Contributor(s): James Ravn
- Version 2.3
-
- ***** END LICENSE BLOCK ***** -->
<!-- stylesheets have to be outside the overlay -->
<?xml-stylesheet href="chrome://acmanager/skin/acmanager.css" type="text/css"?>
<overlay id="browser-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/javascript; version=1.7" src="chrome://acmanager/content/rdfUtils.js"/>
<script type="application/javascript" src="chrome://acmanager/content/acpopup.js"/>
<script type="application/javascript" src="chrome://acmanager/content/options.js"/>
<script type="application/javascript" src="chrome://acmanager/content/aggregator.js"/>
<script type="application/javascript" src="chrome://acmanager/content/filterer.js"/>
<!-- custom suggestion list popup -->
<window id="main-window">
<popup
style="-moz-binding: url('chrome://acmanager/content/acpopup.xml#acm_popup')"
id="ACM_Popup"
ignorekeys="true"
onclick="acm_popupMouseClick(event, this);"
onmousemove="acm_popupMouseMove(event);"
onpopuphidden="acm_popupExists = acm_preventPopup = false;
if (acm_getPreference(ACM_INLINE)) {
const urlbar = document.getElementById('urlbar');
urlbar.setSelectionRange(urlbar.textLength, urlbar.textLength);
}
acm_maxrows = acm_getPreference(ACM_MAXROWS);
window.addEventListener('keypress', ctrlNumberTabSelection, false);"/>
</window>
<commandset id="mainCommandSet">
<!-- command to open the options dialog, if there is not one open already -->
<command id="cmd_ACManager"
oncommand="if (!acm_dialogOpen) open('chrome://acmanager/content/options.xul', '',
'chrome, toolbar, resizable');"/>
<!-- command to temporarily disable the popup -->
<command id="cmd_focusURLBar"
oncommand="document.getElementById('urlbar').select(); acm_disablePopup = true;"/>
</commandset>
<!-- <menupopup id="menu_ToolsPopup">
<menuitem label="Autocomplete Manager" insertbefore="sanitizeSeparator"
class="menuitem-iconic" image="chrome://acmanager/skin/acmanager-icon16.png"
accesskey="M" key="key_ACManager" command="cmd_ACManager"/>
</menupopup> -->
<keyset id="mainKeyset">
<!-- keyboard shortcut to open the options dialog -->
<key id="key_ACManager" modifiers="accel,shift" key="M" command="cmd_ACManager"/>
<!-- keyboard shortcut to temporarily disable the popup -->
<key modifiers="alt" key="L" command="cmd_focusURLBar"/>
</keyset>
</overlay>